<!DOCTYPE html>
<html>
<!--总有一些不经意的时光，需要被镌刻-->
<head>
    <title>云日记</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="keywords" content="云日记,日记本,记事本,写日记,E8工作室">
    <meta name="description" content="我们坚信每个人的生活都有一些小时光值得被记录，希望通过云日记网站能唤起人们用文字记录生活的这种被遗忘很久的习惯。">

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/css.css" />
</head>
<body data-spy="scroll" data-target=".bs-docs-sidebar">
    <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <a href="{:U('Index/index')}" class="brand">云日记</a>
                <div class="nav-collapse">
                    <ul class="nav nav-pills">
                        <li><a href="{:U('Index/index')}" >首页</a></li>
                        <li><a href="{:U('Find/index')}">发现</a></li>
                        <li><a href="{:U('Write/index')}">写日记</a></li>
                    </ul>
                </div>
                <ul class="nav navbar-nav" style="float:right;">
                    <li><a href="{:U('Register/index')}">注册</a></li>
                     <li><a href="{:U('Setting/index')}">设置</a></li>
                     <li><a href="{:U('Logout/index')}">退出</a></li>
                </ul>
            </div>
        </div>
    </div>
    
    <div class="container">
      <div class="row-fluid show-grid">
        <div class="span12">
          <h4> {$findbook[0]['username']} 的日记 </h4><hr>
          <div class="Diary-wrap">
              <foreach name="findbook" item="vo">
                <div class="Diary-row">
                  <div class="Diary-left">
                      <img src="__ROOT__/{$uploads}{$vo.image}" alt="用户图像" class="img-rounded" />
                  </div>
                    <div class="Diary-right"><h5> 
                      标题:<a href="#">  {$vo.title}</a>
                        <small>[天气:{$vo.weather}] </small>
                        <small>[心情:{$vo.mood}] </small>
                      </h5>
                      <div class="Diary-content">
                        <p>{$vo.content}</p>
                      </div>
                      <div class="bar">{$vo.addtime}
                          <small>{:intval($vo['views'])}人阅读</small>
                      </div>
                    </div>
                  </div>
              </foreach>	  	  
            </div>
          </div><hr>
      </div>
    </div>
    <footer>
         <p style="text-align:center;font-size:14px;">版权所有 &copy; 淮南师范学院&nbsp;皖ICP备16000979号</br>powered by E8工作室</br>Email:2013855675@qq.com</p>
    </footer>
    </body>
</html>
